<!doctype html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>{$eju.field.seo_title}</title>
    <meta name="description" content="{$eju.field.seo_description}" />
    <meta name="keywords" content="{$eju.field.seo_keywords}" />
    <link href="{eju:global name='web_cmspath' /}/favicon.ico" rel="shortcut icon" type="image/x-icon" />
    <meta name="applicable-device"content="pc">
    <meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
    <link rel="stylesheet" type="text/css" href="{eju:global name='web_templets_pc' /}/skin/css/reset.css">
    <link rel="stylesheet" type="text/css" href="{eju:global name='web_templets_pc' /}/skin/css/common.css">
    <link rel="stylesheet" type="text/css" href="{eju:global name='web_templets_pc' /}/skin/css/input.css">
    <link rel="stylesheet" type="text/css" href="{eju:global name='web_templets_pc' /}/skin/css/css.css">
    <script src="{eju:global name='web_templets_pc' /}/skin/js/jquery.min.js"></script>
    {eju:static file="skin/css/loupan.css" /}
    {eju:static file="skin/css/shapan.css" /}
</head>
<body>

<!-- topBar S -->
{eju:include file="header.htm"/}
<!-- topBar E -->

<link type="text/css" href="{eju:global name='web_templets_pc' /}/skin/css/prettyphoto.css" rel="stylesheet" />
<link rel="stylesheet" href="{eju:global name='web_templets_pc' /}/skin/css/qiniuplayer.min.css">
<link rel="stylesheet" type="text/css" href="{eju:global name='web_templets_pc' /}/skin/css/video.css">

<div class="detail-main" id="main"> {eju:include file="main_xinfang.htm"/}
    <div class="fix-header">
        <div class="fix-width">
            <div class="fixnav_tit">
                <h2 class="tf"><a href="{$eju.field.arcurl}">{$eju.field.title}</a></h2>
                <span id="phone400_fixnavs"> <span class="shownormalphone" style="display:inline-block;"> <span class="fixnav_num ml15">{$eju.field.sale_phone}</span>&nbsp;{eju:notempty name="$eju.field.phone_code"}<span class="tf f14">转</span>&nbsp;<span class="fixnav_num">{$eju.field.phone_code}</span> {/eju:notempty} </span> </span> </div>
            <div class="tbsearch"> {eju:searchform channelid='9' type='default' typeid='1'}
                <form target="_blank" method="get" action="{$field.action}">
                    <input type="text" style="display:none">
                    <div class="fl pr">
                        <input name="keywords" id="keywords" autocomplete="off" placeholder="输入楼盘名称" type="text" style="color:#aaa;padding-left:10px;" class="tbsearchinput f14 tf">
                    </div>
                    <div class="fl">
                        <input class="tf tbsearchbtns" type="submit" name="" value="搜&nbsp;索">
                    </div>
                    {$field.hidden}
                </form>
                {/eju:searchform} </div>
        </div>
    </div>

    <div class="fix-width clearfix">
        <div class="detail-info ">
            <div class="slides-box width600 fl">
                <div class="slides-big-box width600">
                    <ul>
                        {eju:notempty name="$eju.field.video"}
                        <li style="height: 400px;">
                            <video id="example_video_1" class="video-js vjs-default-skin vjs-big-play-centered" width="100%" height="100%" controls webkit-playsinline preload="none"
                                   poster="{$eju.field.litpic}" data-setup="{}">
                                <source src="{$eju.field.video}" type="video/mp4">
                                您的浏览器不支持HTML5视频
                            </video>
                        </li>
                        {/eju:notempty}
                        {eju:fanglist type="photo" id="vo" group="photo_type"}
                        {eju:fanglist name="$vo.children" id="field" limit='0,1'}
                        <li> <a href="{:arcurl('home/Xinfang/index',['aid'=>$eju.field.xinfang.aid,'dirname'=>$eju.field.xinfang.dirname,'dirpath'=>$eju.field.xinfang.dirpath,'column'=>'photo','photo_type'=>$field.photo_type,'province_id'=>$eju.field.xinfang.province_id,'city_id'=>$eju.field.xinfang.city_id,'area_id'=>$eju.field.xinfang.area_id])}"><img src="{$field.photo_pic}" alt="{$field.photo_type}{$field.photo_title}"></a> </li>
                        {/eju:fanglist}
                        {/eju:fanglist}
                    </ul>
                    <a href="javascript:;" class="slides-icon slides-big-left"></a> <a href="javascript:;" class="slides-icon slides-big-right"></a> </div>
                <div class="slides-small"> <a href="javascript:;" class="prev iconfont">&#xe62a;</a> <a href="javascript:;" class="next iconfont">&#xe9d1;</a>
                    <ul class="slides-small-box width600">
                        {eju:notempty name="$eju.field.video"}
                        <li>
                            <a href="javascript:void(0);"><img class="zmd-index" src="{$eju.field.litpic}"></a>
                            <h2>视频看房</h2>
                        </li>
                        {/eju:notempty}
                        {eju:fanglist type="photo" id="vo" group="photo_type"}
                        {eju:fanglist name="$vo.children" id="field" limit='0,1'}
                        <li> <a href="javascript:;"><img src="{$field.photo_pic}" alt="{$field.photo_type}{$field.photo_title}"></a>
                            <h2>{$field.photo_type}{$field.photo_title}</h2>
                        </li>
                        {/eju:fanglist}
                        {/eju:fanglist}
                    </ul>
                </div>
            </div>
            <div class="new-house-info">
                <div class="news-house-right-top">
                    <div class="house-price"> <span> 参考价格：</span>{eju:notempty name="$eju.field.average_price"}<em>{$eju.field.average_price}</em>{$eju.field.price_units}{eju:else /}暂无{/eju:notempty}
                        <!--   <div class="house-price-tool fr"> <a href="{eju:diyurl type='jisuanqi' /}" title="" target="_blank"><i class="iconfont">&#xe752;</i> 房贷计算器</a> | <a href="javascript:;" class="J_dialog" data-id="12" data-model="house" data-type="5" data-uri="{eju:diyurl type='form' template='ajax_form_jjtz'/}"><i class="iconfont">&#xe600;</i> 降价通知</a> </div>
                       --> </div>
                    <div class="house-total-price"> <span> 参考总价：</span>{eju:notempty name="$eju.field.total_price"}<em>{$eju.field.total_price}</em>{/eju:notempty}
                    </div>
                    <!--    <p class="house-price-timeout">价格有效期至：<span>{$eju.field.price_time|myDate='Y-m-d',###}</span></p>
               --> </div>
                <div class="news-house-box">
                    <ul class="news-house-base">
                        <li>
                            <label class="fl">开盘时间 ：</label>
                            <span class="fl"> {$eju.field.opening_time|myDate='Y年m月d日',###} </span><a href="javascript:;" class="J_dialog" data-id="12" data-model="house" data-type="6" data-uri="{eju:diyurl type='form' template='ajax_form_kptz'/}">[ 开盘通知 ]</a> </li>
                        <li>
                            <label>交房时间 ：</label>
                            {$eju.field.complate_time|myDate='Y年m月d日',###} </li>
                        <li class="clearfix">
                            <label class="fl">主力户型 ：</label>
                            <span class="fl">{$eju.field.main_unit}</span>  <a href="javascript:;" class="J_dialog" data-id="12" data-model="house" data-type="6" data-uri="{eju:diyurl type='form' template='ajax_form_yfcx'/}">[ 余房查询 ]</a>  </li>
                        <li>
                            <label>预&nbsp; 售&nbsp;证  ：</label>
                            {$eju.field.licence} </li>
                        <li>
                            <label>开 &nbsp;发&nbsp;商  ：</label>
                            {$eju.field.developer} </li>
                        <li>
                            <label class="fl">项目地址 ：</label>
                            <span class="fl">  {$eju.field.address} </span><a href="javascript:;"  class="J_dialog" data-id="12" data-model="house" data-type="6" data-uri="{eju:diyurl type='form' template='ajax_form_address'/}">[ 发送地址到手机 ] </a> </li>
                    </ul>

                    <div class="new-house-telphone clearfix" >
                        <div class="new-house-telbox fl">
                            <div class="telx"><i>售楼处咨询电话</i>{$eju.field.sale_phone}{eju:notempty name="$eju.field.phone_code"}<b>转</b>{$eju.field.phone_code}{/eju:notempty}&nbsp;</div>
                        </div>
                        <div class="new-house-weixin fl" style="position: relative; cursor: pointer;" >
                            <div class="new-house-button">
                                <img src="{eju:global name='web_templets_pc' /}/skin/img/phone.png">
                                <div>微信扫码拨号</div>
                                <div class="qrcodebox sm-img1" style="width: 131px;left: -13px;top:48px;color: black"> <span>微信扫码打电话<br/>
                省时 高效 问底价</span>
                                    <div id="qrcode5"> </div>
                                    <script>
                                        $(function(){
                                            $('#qrcode5').qrcode("{eju:diyurl type='bohao'/}");
                                            $("#qrcode5").mouseover(function(){
                                            });
                                        })
                                    </script>
                                </div>
                                <script type="text/javascript">
                                    //扫码拨号
                                    $(".new-house-weixin").mouseover(function (){
                                        $(".sm-img1").show();
                                    }).mouseout(function (){
                                        $(".sm-img1").hide();
                                    });
                                </script>
                            </div>

                    </div>
                    <div class="new-house-kanfang">
                        <div class="left">
                            <div>
                                一站式购房服务
                            </div>
                            <div>
                                已经有**人领取
                            </div>
                        </div>
                        <button type="button" class="J_dialog " data-id="12" data-model="house" data-type="1" data-uri="{eju:diyurl type='form'/}">免费专车看房</button>

                    </div>
                    <!--   <button type="button" class="J_dialog " data-id="12" data-model="house" data-type="1" data-uri="{eju:diyurl type='form' template='ajax_form_mfth'/}">免费通话</button>
                  -->   </div>
            </div>
        </div>
    </div>


    <div class="bg-gray">

        <div class="xinfang-vip  clearfix  ">


        </div>


        <div  class="slider-vip fix-width ">
            <div class="vip-left fl" >
                置业顾问
            </div>
            <ul class="image">
                {eju:sqlarclist table="saleman" map="[1]" mapkey="['status']" orderby="id desc" limit='0,6' id="vo"}
                <li class="detail">
                    <div class="detail">
                    <div class="avatar">
                        <img src="{$vo.saleman_pic}">
                        <div class="zaixian">
                            在线
                        </div>
                    </div>
                    <div class="renwu">
                        <div style="font-size: 14px">
                            {$vo.saleman_name} <span style="color: #c20000">5.0分</span>
                        </div>
                        <div class="tel-button">
                            <img src="{eju:global name='web_templets_pc' /}/skin/images/tel_phone.png">
                            <a class="bt" href="{eju:global name='web_attr_3'/}">   <div style="    font-size: 14px;"> 打电话</div> </a>
                        </div>
                    </div>
                    </div>
               <!--     <img src="{eju:global name='web_templets_pc' /}/skin/img/ren.png">
                    <div>好评度98% 专业 热情</div>
                    <button type="button" class="button phoneButton">电话咨询</button>-->
                    <div class="shuxian"></div>
                </li>


                {/eju:sqlarclist}
            </ul>
            <div class="vip-right fr" ><i class="right-jiantou"></i></div>
        </div>
    </div>
    <div class="bg-gray">
        <div class="fix-width ">
            <div class="detail-content clearfix">
                <div class="detail-left fl">
                    <div class="detail-row">
                        <div class="title">楼盘动态 <a href="{:arcurl('home/Xinfang/index',['aid'=>$eju.field.xinfang.aid,'dirname'=>$eju.field.xinfang.dirname,'dirpath'=>$eju.field.xinfang.dirpath,'column'=>'information','province_id'=>$eju.field.xinfang.province_id,'city_id'=>$eju.field.xinfang.city_id,'area_id'=>$eju.field.xinfang.area_id])}" class="more fr">更多</a></div>
                        <ul class="news-lists">
                            {eju:arclist typeid="4" joinaid="$eju.field.aid" orderby='new' limit="0,2" id="field"}
                            <li> <a href="{$field.arcurl}" target="_blank" title="{$field.title}">
                                <h2><em>{$field.typename}</em>{$field.title} <span>{$field.add_time|MyDate='Y-m-d',###}</span></h2>
                                <p>{$field.seo_description|html_msubstr=###,0,90,true}</p>
                            </a> </li>
                            {/eju:arclist}
                        </ul>
                    </div>
                </div>
                <div class="detail-right fr">
                    <div class="right-row">
                        <h2>消息通知<span>（我们将为您保密个人信息）</span></h2>
                        {eju:form formid="3"}
                        <form method="post" id="{$field.form_name}" action="{$field.action}" onsubmit="{$field.submit}">
                            <div class="right-form">
                                <div class="form-type">
                                    <p> {eju:volist name="$field.options_8" id="attr" limit='0,2'}
                                        <label>
                                            <input type="checkbox" id="{$field.attr_8}" name="{$field.attr_8}" value="{$attr.value}">
                                            {$attr.value} </label>
                                        {/eju:volist} </p>
                                    <p> {eju:volist name="$field.options_8" id="attr" limit='2,2'}
                                        <label>
                                            <input type="checkbox" id="{$field.attr_8}" name="{$field.attr_8}" value="{$attr.value}">
                                            {$attr.value} </label>
                                        {/eju:volist} </p>
                                </div>
                                <div class="form-input">
                                    <p>
                                        <input type="text" id="{$field.attr_6}" name="{$field.attr_6}" autocomplete="off" placeholder="您的{$field.itemname_6}" class="input-txt" />
                                    </p>
                                </div>
                                <div class="button">
                                    <button class="subscribe-btn" type="submit">立即预约</button>
                                </div>
                            </div>
                            {$field.hidden}
                        </form>
                        {/eju:form} </div>
                </div>
            </div>
            <div class="detail-content clearfix">
                <div class="detail-row margin-top20">
                    <div class="title">在售户型 <a href="{:arcurl('home/Xinfang/index',['aid'=>$eju.field.xinfang.aid,'dirname'=>$eju.field.xinfang.dirname,'dirpath'=>$eju.field.xinfang.dirpath,'column'=>'huxing','province_id'=>$eju.field.xinfang.province_id,'city_id'=>$eju.field.xinfang.city_id,'area_id'=>$eju.field.xinfang.area_id])}" class="more fr">更多</a>
                        <div class="room-count fr">
                            <a href="{:arcurl('home/Xinfang/index',['aid'=>$eju.field.xinfang.aid,'dirname'=>$eju.field.xinfang.dirname,'dirpath'=>$eju.field.xinfang.dirpath,'column'=>'huxing','province_id'=>$eju.field.xinfang.province_id,'city_id'=>$eju.field.xinfang.city_id,'area_id'=>$eju.field.xinfang.area_id])}" title="全部户型">全部户型(<span>{$eju.field.huxing_list|count}</span>)</a>
                            {eju:fanglist type="huxing" id="field" group="huxing_room"}
                            <a href="{:arcurl('home/Xinfang/index',['aid'=>$eju.field.xinfang.aid,'dirname'=>$eju.field.xinfang.dirname,'dirpath'=>$eju.field.xinfang.dirpath,'column'=>'huxing','room'=>$field.huxing_room,'province_id'=>$eju.field.xinfang.province_id,'city_id'=>$eju.field.xinfang.city_id,'area_id'=>$eju.field.xinfang.area_id])}" name=".tab_{$field.huxing_room}">{$field.huxing_room}居室(<span>{$field.count}</span>)</a>
                            {/eju:fanglist}
                        </div>
                    </div>
                    <div class="room-lists" id="type"> {eju:fanglist name="$eju.field.huxing_list" id="field" row='3'}
                        <div class="loan room-row clearfix" >
                            <a href="{:arcurl('home/Xinfang/index',['aid'=>$eju.field.aid,'dirname'=>$eju.field.dirname,'dirpath'=>$eju.field.dirpath,'column'=>'huxing','sid'=>$field.huxing_id,'province_id'=>$eju.field.province_id,'city_id'=>$eju.field.city_id,'area_id'=>$eju.field.area_id])}">
                                <div class="pic-box fl"> <img src="{$field.huxing_pic}" alt=""> <span>{$field.huxing_room}室{$field.huxing_living_room}厅</span> </div>
                            </a>
                            <div class="room-info fl">
                                <h2><a href="{:arcurl('home/Xinfang/index',['aid'=>$eju.field.aid,'dirname'=>$eju.field.dirname,'dirpath'=>$eju.field.dirpath,'column'=>'huxing','sid'=>$field.huxing_id,'province_id'=>$eju.field.province_id,'city_id'=>$eju.field.city_id,'area_id'=>$eju.field.area_id])}">{$field.huxing_title}</a></h2>
                                <ul>
                                    <li>
                                        <p>面积:{$field.huxing_area}㎡</p>
                                        <p>朝向:{$field.huxing_aspect}</p>
                                    </li>
                                </ul>
                                <div class="suanjia"> <a class="view-layout-image" href="{$field.huxing_pic}" title="{$field.huxing_room}室{$field.huxing_living_room}厅{$field.huxing_toilet}卫{$field.huxing_kitchen}厨" rel="prettyPhoto[]">查看户型原图</a> </div>
                            </div>
                            <div class="newHouseHxRight">
                                <div class="hxPrise">
                                    <div><span class="yfyj">
                    <p>{$field.huxing_price}</p>
                    </span> </div>
                                    <span>参考总价： </span> </div>
                                <input type="button" value="获取最新价格变动" class="getChangePzBtn J_dialog" data-id="12" data-model="house" data-type="1" data-uri="{eju:diyurl type='form' template='ajax_form_jgbd'/}">
                            </div>
                        </div>
                        {/eju:fanglist} </div>
                </div>
                <div class="detail-row margin-top20">
                    <div class="title">楼盘相册 <a href="{:arcurl('home/Xinfang/index',['aid'=>$eju.field.xinfang.aid,'dirname'=>$eju.field.xinfang.dirname,'dirpath'=>$eju.field.xinfang.dirpath,'column'=>'photo','province_id'=>$eju.field.province_id,'city_id'=>$eju.field.city_id,'area_id'=>$eju.field.area_id])}" title="相册" class="more fr">更多</a>
                        <div class="room-count fr">
                            {eju:fanglist type="photo" id="field" group="photo_type"}
                            <a href="{:arcurl('home/Xinfang/index',['aid'=>$eju.field.xinfang.aid,'dirname'=>$eju.field.xinfang.dirname,'dirpath'=>$eju.field.xinfang.dirpath,'column'=>'photo','photo_type'=>$field.photo_type,'province_id'=>$eju.field.province_id,'city_id'=>$eju.field.city_id,'area_id'=>$eju.field.area_id])}" name=".cate_{$field.photo_type}">{$field.photo_type}({$field.count})</a>
                            {/eju:fanglist}
                        </div>
                    </div>
                    <ul class="photo-lists clearfix" id="photo">
                        {eju:fanglist name="$eju.field.photo_list" id="field" row='8'}
                        <li> <a href="{$field.photo_pic}" title="{$field.photo_type}" rel="prettyPhoto[]"> <img src="{eju:global name='web_templets_pc' /}/skin/img/nopic.jpg" data-original="{$field.photo_pic}" class="lazy" alt="">
                            <p>{$field.photo_type}</p>
                        </a> </li>
                        {/eju:fanglist}
                    </ul>
                </div>
                {eju:notempty name="$eju.field.sand"}
               <div class="detail-row margin-top20">
                    <div class="title">楼盘楼栋信息 </div>
                    <div class="base-info clearfix">
                        <div class="drag" >
                            <div class="drag-box">
                                <div  class="drag-img">
                                    <img src="{$eju.field.sand.litpic}">
                                    {eju:fanglist name="$eju.field.sand.data" id="field"}

                                    <div  style=" background:url({eju:global name='web_templets_pc' /}/skin/img/pont.png) no-repeat;background-size: 69px 89px; height: 89px;width: 69px; position: absolute;left: {$field.point[0]-34}px;top: {$field.point[1]-44}px">
                                        <div style="margin-top: 22px;font-size: 14px;color: white;text-align: center">{$field.sale} </div>
                                        </div>

                                    {/eju:fanglist}
                                    </div>
                            </div>

                        </div>
                        <div class="drag-left" id="app">
                            <div class="title1">
                                <div v-for="(item,index) in floor " :class="{'current':index===floor_index}" @click="changeFloor(index)" v-text="item.title"></div>

                            </div>
                            <div class="danyuan">
                                <div v-text="'单元:'+floor[floor_index].unit"> </div>
                                <div v-text="'电梯数:'+floor[floor_index].elevator"> </div>
                                <div v-text="'高层楼层:'+floor[floor_index].floor_num "></div>
                                <div v-text="'户数:'+floor[floor_index].room_num"> </div>
                            </div>
                            <div class="huxing1">
                                <div class="huxing-left">
                                    <div v-for="(item,index) in huxing_list" :class="{'current':index===huxing_index}" @click="changeHuxing(index)" v-text="item.huxing_title"></div>

                                </div>
                                <div class="huxing-right">
                                    <img :src = "huxing_list[huxing_index].huxing_pic">
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
                {/eju:notempty}
                <div class="h20"></div>
                <div class="clear"></div>
                <!-- 房价走势 -->
                <div class="detail-row margin-top20" style="background: white">
                    <div class="tit">
                        <h3 style="display: inline-block;">{$eju.field.title}房价走势</h3>
                        <div style="width: 2px;height: 24px;background: #48bf01;position: absolute;left: 0;top: 15px;"></div>
                    </div>
                    <div class="c">
                        <!-- 线 -->
                        <div class="price-a7">
                            <p class="fl price-a8 icons"><a href="javascript:;" title="{$eju.field.title}" target="_blank">{$eju.field.title}价格</a></p>
                            <p class="fl price-a9 icons"><a href="javascript:;" target="_blank" title="{$eju.field.city_id|get_city_name}房价走势" >{$eju.field.city_id|get_city_name}房价走势</a></p>
                        </div>
                        <!-- 线 end-->
                        <div class="r940box">
                            <div class="r940nra">
                                <div style="width: 1160px;margin-top: 30px;margin-bottom: 10px;">
                                    <div id="container1" style="height:300px"> </div>
                                    {eju:pricetrend id="field" field="$eju['field']" month="6" canvas="container1"/} </div>
                            </div>
                        </div>
                    </div>
                </div>

                <!-- 房价走势 end-->
                <div class="clear"></div>
                <div class="h20"></div>
                <!-- 计算器 -->
                <div class="detail-row margin-top20" style="background: white">
                    <div class="title">
                        {$eju.field.title}房贷计算器
                    </div>
                    <form id="calc11" name="calc11">
                        <div class="js clearfix">
                            <div class="js-l">
                                <div class="js-rom clearfix"> <em class="js-tit">选择户型:</em>
                                    <div class="divselect" id="f2s"> <cite> </cite>
                                        <ul style="height:200px;overflow-y: scroll;overflow-x: hidden;">
                                            {eju:fanglist name="$eju.field.huxing_list" id="vo"}
                                            <li> <a href="javascript:;" data-id="p" selectid="{$vo.huxing_price*10000}" selectid2="{$vo.huxing_average_price}元/平米"> {$vo.huxing_title}户型{$vo.huxing_room}室{$vo.huxing_living_room}厅{$vo.huxing_toilet}卫{$vo.huxing_kitchen}厨{$vo.huxing_area}㎡ </a> </li>
                                            {/eju:fanglist}
                                        </ul>
                                    </div>
                                </div>
                                <div class="js-rom clearfix"> <em class="js-tit">估算总价:</em>
                                    <div class="divselect" style="background: #f0f0f0;cursor: auto;">
                                        <input id="cite0" value="" type="text" style="width: 300px;height: 36px;margin-left: 22px;font-size: 17px;background-color: #f0f0f0;border: 0;outline: none;"/>
                                        <b style="font-size: 17px;"></b> </div>
                                    <input maxlength="8" size="10" name="daikuan_total000" value="" id="daikuan" class="guestbook01" type="hidden">
                                </div>
                                <div class="js-rom clearfix"> <em class="js-tit">首付成数:</em>
                                    <div class="divselect" id="f3s"> <cite>3成</cite>
                                        <ul style="height: 254px;overflow-y: scroll;overflow-x: hidden;">
                                            <li><a href="javascript:;" selectid="9">9成</a></li>
                                            <li><a href="javascript:;" selectid="8">8成</a></li>
                                            <li><a href="javascript:;" selectid="7">7成</a></li>
                                            <li><a href="javascript:;" selectid="6">6成</a></li>
                                            <li><a href="javascript:;" selectid="5">5成</a></li>
                                            <li><a href="javascript:;" selectid="4">4成</a></li>
                                            <li><a href="javascript:;" selectid="3">3成</a></li>
                                            <li><a href="javascript:;" selectid="2">2成</a></li>
                                        </ul>
                                    </div>
                                    <input name="anjie" type="hidden" value="3" id="anjie"/>
                                </div>
                                <div class="js-rom clearfix"> <em class="js-tit">贷款类别:</em>
                                    <div class="divselect" id="f4s"> <cite>商业贷款</cite>
                                        <ul>
                                            <li><a href="javascript:;" selectid="1">商业贷款</a></li>
                                            <li><a href="javascript:;" selectid="2">公积金贷款</a></li>
                                        </ul>
                                    </div>
                                    <input name="loanradiotype" type="hidden" value="1" id="loanradiotype"/>
                                </div>
                                <div class="js-rom clearfix">
                                    <ul id="calc11_zuhe" style="display: none" class="calculator">
                                        <li>&nbsp;&nbsp;商业性：
                                            <input id="zuhesy" name="total_sy" maxlength="8" size="8" type="text" class="guestbook01">
                                            元</li>
                                        <li>&nbsp;&nbsp;公积金：
                                            <input id="zuhegjj" name="total_gjj" maxlength="8" size="8" type="text" class="guestbook01">
                                            元</li>
                                    </ul>
                                </div>
                                <div class="js-rom clearfix"> <em class="js-tit">贷款时间:</em>
                                    <div class="divselect" id="f5s"> <cite>30年（360期）</cite>
                                        <ul style="height: 119px;overflow-y: scroll;overflow-x: hidden;">
                                            <li><a href="javascript:;" selectid="1">1年（12期）</a></li>
                                            <li><a href="javascript:;" selectid="2">2年（24期）</a></li>
                                            <li><a href="javascript:;" selectid="3">3年（36期）</a></li>
                                            <li><a href="javascript:;" selectid="4">4年（48期）</a></li>
                                            <li><a href="javascript:;" selectid="5">5年（60期）</a></li>
                                            <li><a href="javascript:;" selectid="6">6年（72期）</a></li>
                                            <li><a href="javascript:;" selectid="7">7年（84期）</a></li>
                                            <li><a href="javascript:;" selectid="8">8年（96期）</a></li>
                                            <li><a href="javascript:;" selectid="9">9年（108期）</a></li>
                                            <li><a href="javascript:;" selectid="10">10年（120期）</a></li>
                                            <li><a href="javascript:;" selectid="11">11年（132期）</a></li>
                                            <li><a href="javascript:;" selectid="12">12年（144期）</a></li>
                                            <li><a href="javascript:;" selectid="13">13年（156期）</a></li>
                                            <li><a href="javascript:;" selectid="14">14年（168期）</a></li>
                                            <li><a href="javascript:;" selectid="15">15年（180期）</a></li>
                                            <li><a href="javascript:;" selectid="16">16年（192期）</a></li>
                                            <li><a href="javascript:;" selectid="17">17年（204期）</a></li>
                                            <li><a href="javascript:;" selectid="18">18年（216期）</a></li>
                                            <li><a href="javascript:;" selectid="19">19年（228期）</a></li>
                                            <li><a href="javascript:;" selectid="20">20年（240期）</a></li>
                                            <li><a href="javascript:;" selectid="25">25年（300期）</a></li>
                                            <li><a href="javascript:;" selectid="30">30年（360期）</a></li>
                                        </ul>
                                    </div>
                                    <input name="years" type="hidden" value="30" id="years"/>
                                </div>
                                <div class="js-radio"> <a id="debx" class="on" onclick="$('#radioben').val('1'); $('#debj').removeClass('on'); $('#debx').addClass('on'); $('#benxi').show(); $('#benjin').hide();">等额本息</a> <a id="debj" class="" onclick="$('#radioben').val('2'); $('#debx').removeClass('on'); $('#debj').addClass('on'); $('#benjin').show(); $('#benxi').hide();">等额本金</a>
                                    <input name="radioben" type="hidden" value="1" id="radioben"/>
                                </div>
                                <input name="jisuan_radio" id="jisuan_radio" type="hidden" value="2">
                                <input id="price" name="price" type="hidden">
                                <input id="sqm" name="sqm" type="hidden">
                                <input id="singlelv" type="hidden" value="3.25" name="singlelv">
                                <div id="calc1_benjin" style="display: none;">
                                    <input type="hidden" name="fangkuan_total2">
                                    <input type="hidden" name="daikuan_total2">
                                    <input type="hidden" name="all_total2">
                                    <input type="hidden" name="accrual2">
                                    <input type="hidden" name="money_first2">
                                    <input type="hidden" name="month2">
                                    <input type="hidden" name="month_money2">
                                </div>
                                <div class="mainrtr01" style="display:none;">
                                    <ul>
                                        <li>&nbsp;&nbsp;房款总额：
                                            <input id="fangkuan_total1" name="fangkuan_total1" type="text" class="guestbook02" readonly>
                                            元</li>
                                        <li>&nbsp;&nbsp;贷款总额：
                                            <input name="daikuan_total1" type="text" class="guestbook02" readonly>
                                            元</li>
                                        <li>&nbsp;&nbsp;还款总额：
                                            <input name="all_total1" type="text" class="guestbook02 all_total1" readonly>
                                            元</li>
                                        <li style="padding-left: 0px;">支付利息款：
                                            <input name="accrual1" type="text" class="guestbook02" readonly>
                                            元</li>
                                        <li>&nbsp;&nbsp;首期付款：
                                            <input name="money_first1" type="text" class="guestbook02" readonly>
                                            元</li>
                                        <li>&nbsp;&nbsp;贷款月数：
                                            <input name="month1" type="text" class="guestbook02" readonly>
                                        </li>
                                        <li>&nbsp;&nbsp;月均还款：
                                            <input name="month_money1" type="text" class="guestbook02" readonly>
                                            元</li>
                                    </ul>
                                </div>
                            </div>
                            <div class="js-btn"> <a href="javascript:void(0)" onclick="javascript:ext_loantotal(document.calc11)">开始计算</a> </div>
                            <div class="js-r">
                                <div class="js-jg" style="position: relative;">
                                    <h5 class="js-jg-tit">计算结果</h5>
                                    <div class="js-jg-msg"> <em>均价：<b id="bb0"></b></em> <span id="gusuan1">估算总价：</span> </div>
                                    <div class="js-jg-txt js-jg-txt1"> <span style="display: inline-block;margin-left: 15px;color: #883631;line-height: 42px;font-size: 14px;">首付：<span id="shoufu"></span></span> </div>
                                    <div class="js-jg-txt js-jg-txt2"> <span style="display: inline-block;margin-left: 15px;color: #883631;line-height: 42px;font-size: 14px;" id="daikuan_total1s"></span> </div>
                                    <div class="js-jg-txt js-jg-txt3"> <span style="display: inline-block;margin-left: 15px;color: #883631;line-height: 42px;font-size: 14px;" id="accrual2s"></span> </div>
                                    <div id="b2-baidu">
                                        <div id="bb-baidu" style="display:none">
                                            <div id="main-baidu" style="height:400px;"> </div>
                                        </div>
                                        <div class="js-jg-mon" id="benxi"> 每月还款： <em id="month_money1s"></em> </div>
                                        <div id="benjin" style="display: none;"> &nbsp;&nbsp;月均金额：
                                            <textarea class="inputwidthnew" name="month_money3" rows="3" cols="20"></textarea>
                                            元 </div>
                                        <div class="js-jg-wrap clearfix">
                                            <div class="js-jg-msg2"> 利率公积金
                                                <input id="gjlv" type="text" class="red guestbook01" value="3.25" style="width:29px;border: 0">
                                                % 商业性
                                                <input id="sdlv" type="text" class="red guestbook01" value="4.90" style="width:29px;border: 0">
                                                %<br/>
                                                以上结果仅供参考 </div>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </form>
                </div>
                <!-- 计算器 end-->
                <div class="detail-row margin-top20">
                    <div class="title">楼盘详情 </div>
                    <ul class="base-info clearfix">
                        <li>
                            <label>开发商</label>
                            {$eju.field.developer}</li>
                        <li>
                            <label>产权年限</label>
                            {$eju.field.property}{$eju.field.property_unit}</li>
                        <li>
                            <label>占地面积</label>
                            {$eju.field.floor_area}{$eju.field.floor_area_unit}</li>
                        <li>
                            <label>建筑面积</label>
                            {$eju.field.building_area}{$eju.field.building_area_unit}</li>
                        <li>
                            <label>绿化率</label>
                            {$eju.field.greening_rate}{$eju.field.greening_rate_unit}</li>
                        <li>
                            <label>容积率</label>
                            {$eju.field.plot_ratio}{$eju.field.plot_ratio_unit}</li>
                        <li>
                            <label>车位情况</label>
                            {$eju.field.carport}{$eju.field.carport_unit}</li>
                        <li>
                            <label>规划户数</label>
                            {$eju.field.households}{$eju.field.households_unit}</li>
                        <li>
                            <label>物业费</label>
                            {$eju.field.property_fee}{$eju.field.property_fee_unit}</li>
                        <li>
                            <label>物业公司</label>
                            {$eju.field.manage_company}</li>
                        <li>
                            <label>装修情况</label>
                            {$eju.field.fitment|implode=",",###}</li>
                    </ul>
                    <div class="house-con">
                        <p>{$eju.field.content}</p>
                        <p><br/>
                        </p>
                    </div>
                </div>
                {eju:notempty name="$eju.field.panoram"}
                <div class="detail-row margin-top20">
                    <div class="title">全景看房 </div>
                    <div class="map-box">
                        <iframe src="{$eju.field.panoram}" width="100%" height="100%" scrolling="no" frameborder="0"></iframe>
                    </div>
                </div>
                {/eju:notempty}

                <div class="detail-row margin-top20">
                    <div class="title">周边配套 </div>
                    <div class="map-box">
                        <div id="map"></div>
                        {eju:surroundings field="$eju['field']" canvas="map" tag="heihei" select="active" total="total" tab="lp-map-tab" result="result"}
                        <div class="map-mart">
                            <div class="map-mart-title" id="map-keyword">
                                {eju:volist name="$field.list" id="vo"}
                                <a href="javascript:;" class="heihei" onclick="select_around({$key});">{$vo}</a>
                                {/eju:volist}
                            </div>
                            <ul class="map-mart-lists" id="result">
                            </ul>
                        </div>
                        {$field.hidden}
                        {/eju:surroundings}
                    </div>
                </div>
            </div>
            <div class="itr_box margin-top20" id="same-estate">
                <ul class="lbtitle bigtit" id="js_jrtab_ul">
                    <li class="hover" id="js_jrtab_0" data-index="0">猜你喜欢</li>
                    <li id="js_jrtab_1" class="" data-index="1">为您推荐</li>
                </ul>
                <div class=" itr_box_con">
                    <div class="huxing_cont" id="js_jrtabi_0" style="">
                        <ul class="photo_album pt_h200" style="padding-top: 20px; padding-bottom: 10px;" id="divMaylikeUl">
                            {eju:arclist typeid='1' orderby='rand' limit='0,5' id='field'}
                            <li style="position:relative;">
                                <div class="map_comment">
                                    <div class="dh_c_alone_img">
                                        <p><a href="{$field.arcurl}" target="_blank"> <img class="imgts" alt="{$field.title}" src="{$field.litpic}" border="0" width="220"></a></p>
                                    </div>
                                </div>
                                <div class="photo_album_txt f14 text_left"> <span class="photo_album_txt_p"> <a href="{$field.arcurl}" target="_blank" title=""><b>{$field.title}</b></a> </span> <span style="width:222px;">均价：<b class="red01">{eju:notempty name="$field.average_price"}{$field.average_price}{$field.price_units}{eju:else /}暂无{/eju:notempty}</b></span> </div>
                            </li>
                            {/eju:arclist}
                        </ul>
                    </div>
                    <!--同价位楼盘-->
                    <div class="huxing_cont " id="js_jrtabi_1" style="display: none;">
                        <ul id="xfptxq_B23_02" class="photo_album pt_h200" style="padding-top: 20px; padding-bottom: 10px;">
                            {eju:arclist typeid='1' flag='c' orderby='new' limit='0,5' id='field'}
                            <li style="position:relative;">
                                <div class="map_comment">
                                    <div class="dh_c_alone_img">
                                        <p><a href="{$field.arcurl}" target="_blank"> <img class="imgts" alt="{$field.title}" src="{$field.litpic}" border="0" width="220"></a></p>
                                    </div>
                                </div>
                                <div class="photo_album_txt f14 text_left"> <span class="photo_album_txt_p"> <a href="{$field.arcurl}" target="_blank" title=""><b>{$field.title}</b></a> </span> <span style="width:222px;">均价：<b class="red01">{eju:notempty name="$field.average_price"}{$field.average_price}{$field.price_units}{eju:else /}暂无{/eju:notempty}</b></span> </div>
                            </li>
                            {/eju:arclist}
                        </ul>
                    </div>
                </div>
            </div>

            <div class="bottom"></div>
        </div>

    </div>

</div>
    <div class="biaodan margin-top20">
        <img src="{eju:global name='web_templets_pc' /}/skin/img/baoming.png">
        <div class="right1">
            <div class="baoming-title">一站式购房服务</div>
            <div class="baoming-title1">省心省时省钱 需求沟通   楼盘推荐  楼盘分析报告</div>
            <div class="baoming-title1">免费专车看房 法律.金融顾问</div>
            <div>
                {eju:form formid="15"}
                <form method="post" id="{$field.form_name}" action="{$field.action}" class="baoming-form" onsubmit="{$field.submit}">
                    <input type="text" id="{$field.attr_45}" name="{$field.attr_45}" placeholder="{$field.itemname_45}" >
                    <input type="date" class="show_placeholder" id="{$field.attr_46}" name="{$field.attr_46}" placeholder="{$field.itemname_46}" >
                    <input type="text" id="{$field.attr_44}" name="{$field.attr_44}" placeholder="{$field.itemname_44}" >

                    <button type="submit"  class="form-button" >免费预约看房专车 </button>
                    {$field.hidden}
                </form>
                {/eju:form}
            </div>
        </div>
    </div>
</div>
<script src="{eju:global name='web_templets_pc' /}/skin/js/qiniuplayer.min.js"></script>
<script src="{eju:global name='web_templets_pc' /}/skin/js/drag-move.js"></script>
<script src="{eju:global name='web_templets_pc' /}/skin/js/sandmove.js"></script>
<script src="{eju:global name='web_templets_pc' /}/skin/js/loan.js"></script>
<script type="text/javascript" src="{eju:global name='web_templets_pc' /}/skin/js/jquery.superslide.2.1.1.js"></script>
<script type="text/javascript" src="{eju:global name='web_templets_pc' /}/skin/js/laytpl.js"></script>
<script type="text/javascript" src="{eju:global name='web_templets_pc' /}/skin/js/jquery.prettyphoto.js"></script>
<script src="https://cdn.jsdelivr.net/npm/vue/dist/vue.js"></script>
{eju:static file="skin/js/jqmodal.js" /}
{eju:static file="skin/js/js.js" /}
{eju:static file="skin/js/house.lilv.js" /}
{eju:static file="skin/js/house.index.js" /}
{eju:static file="skin/js/highcharts.js" /}
{eju:static file="skin/js/buildprice.js" /}
{eju:static file="skin/js/jsq.js" /}
<script src="{eju:global name='web_templets_pc' /}/skin/js/scroll_nav.js"></script>
<script>

    $('#attr_44').blur(function(){
        var obj = $(this);
        if(!obj.val()){
            $(this).addClass('show_placeholder');
        }else{
            $(this).removeClass('show_placeholder');
        }
    });
    $('#attr_44').focus(function() {
        $(this).removeClass('show_placeholder');
    })
    var a='{:json_encode($eju.field.sand)}'
    var huxing='{:json_encode($eju.field.huxing_list)}'
     a=JSON.parse(a)
    huxing=JSON.parse(huxing)
    var app= new Vue({
        el: '#app',
        data: {
            sand:  a,
            huxings:huxing,
            huxing_list:[],
            floor:[],//几栋楼
            floor_index:0,
            huxing_index:0,

        },
        created(){
           if(this.sand.sand_id&&this.sand.sand_id.length>0){
               this.floor=this.sand.sand_id
               this.selectHuxing()
            console.log(this.huxing_list)
           }
        },
        methods:{
            changeHuxing(index){
                this.huxing_index=index

            },
            changeFloor(index){
                this.floor_index=index
                this.huxing_index=0
                this.huxing_list=[]
                this.selectHuxing()
            },
            selectHuxing(){
                let huxing_ids=  this.floor[this.floor_index].huxing_id.split(',')
                console.log('huxing',huxing_ids)
                for (let i=0;i<huxing_ids.length;i++){

                    let index=   this.huxings.findIndex(item=>{
                        return item.huxing_id== huxing_ids[i]
                    })
                    console.log('index',index)

                    if (index!=-1){
                        this.huxing_list.push(this.huxings[index])
                    }
                }
            }
        }

    })
    var drag = $(".drag-img")
    var dragImg = new DragScale(drag, drag)
    // 拖动
    dragImg.drag()
    // 滚轮

    // 放大
    $(".scale-big").click(function() {
        dragImg.scale(1)
    })
    // 缩小
    $(".scale-small").click(function() {
        dragImg.scale(2)
    })
    // 上下左右点击
    $(".arrow").click(function() {
        dragImg[$(this).data("arrow")]()
    })
    $(window).scroll(function(e){
        var t = $(window).scrollTop(),
            top = $(".fix-header"),
            right = $(".detail-right > .right-row"),
            right_h = right.height(),
            b = $("#same-estate").offset().top,
            h = $(".detail-content").offset().top;
        if(t > h && t < b-right_h) {
            top.show();
        } else if(t > b - right_h){
        } else {
            top.hide();
            right.removeClass('fix absolute');
        }
    });
    var total = 0,storage = "1",video = "" && storage == 1 ? true : false;
    $(function(){
        jQuery(".slides-box").slide({
            titCell:".slides-small-box li",
            mainCell:".slides-big-box ul",
            prevCell:".slides-big-left",
            nextCell:".slides-big-right",
            delayTime:200,
            effect:"left",
            autoPlay:false,
            trigger:"click",
            startFun: function(i, p) {
                if (i == 0) {
                    jQuery(".slides-small .prev").click()
                } else if (i % 4 == 0) {
                    jQuery(".slides-small .next").click()
                }
            }
        });

        jQuery(".slider-vip").slide({ mainCell:".image",delayTime:500,vis:5,scroll:5,interTime:3500,effect:"left",autoPage:true,prevCell:".vip-left",nextCell:".vip-right",autoPlay:true,pnLoop:false });

        jQuery(".slides-box .slides-small").slide({ mainCell:"ul",delayTime:100,vis:4,scroll:4,effect:"left",autoPage:true,prevCell:".prev",nextCell:".next",pnLoop:false });
        jQuery(".excellent-box").slide({titCell:".slide-pages ul",mainCell:".row-lists",autoPage:true,interTime:3500,effect:"left",autoPlay:true,scroll:4,vis:4,trigger:"click"});
        getBanInfo($("#ban_lists a.active").data('id'));
        $("#ban_lists a").on('click',function(){
            var id = $(this).data('id');
            $(this).addClass('active').parent().siblings().find('.active').removeClass('active');
            getBanInfo(id);
        });
        $(".ban").on('click',function(){
            var id = $(this).data('id');
            $("#ban_lists").find('.active').removeClass('active');
            $("#ban_lists").find("a[data-id='"+id+"']").addClass('active');
            getBanInfo(id);
        });
        $("#photo:first a[rel^='prettyPhoto']").prettyPhoto({animation_speed:'fast',slideshow:10000, hideflash: true});
        $("#type:first a[rel^='prettyPhoto']").prettyPhoto({animation_speed:'fast',slideshow:10000, hideflash: true});
        $(".room_count").each(function(){
            total += parseInt($(this).text());
        });
        $('#room_total').text(total);
        $('.J_dialog').on('click',function(){
            var me=$(this),w = 420,h = 300,house_id=me.data('id'),model = me.data('model'),type = me.data('type'),url = me.data('uri');
            url = url + '?house_id='+house_id+'&type='+type+'&model='+model;
            layer.open({
                type: 2,
                title: false,
                fix:true,
                move:false,
                area: [w+'px', h+'px'],
                shade: 0.5,
                closeBtn: 1,
                shadeClose: true,
                content: url
            });
        });

    });

    function getBanInfo(id)
    {
        var url   = $("#ban_lists").data('uri');
        var param = {id:id};
        if(url)
        {
            $.get(url,param,function(result){
                if(result.code == 1)
                {
                    if(result.data){
                        var gettpl = document.getElementById('template').innerHTML;
                        laytpl(gettpl).render(result.data, function(html){
                            document.getElementById('ban_info').innerHTML = html;
                        });
                    }
                }else{
                    console.log('get data error');
                }
            });
        }

    }
</script>
{eju:include file="footer.htm"/}
<script src="{eju:global name='web_templets_pc' /}/skin/js/jquery.lazyload.js"></script>
<script src="{eju:global name='web_templets_pc' /}/skin/js/layer.js"></script>
<script>
    $("img.lazy").lazyload({
        threshold : 100,
        effect : "fadeIn"
        //event: "scrollstop"
    });
    $(function(){
        $('.follow').on('click',function(){
            var house_id = $(this).data('id'),model = $(this).data('model'),url = $(this).data('uri'),me = $(this);
            $.post(url,{house_id:house_id,model:model},function(result){
                if(result.code == 1)
                {
                    layer.msg(result.msg,{icon:1});
                    if(me.hasClass('on'))
                    {
                        me.removeClass('on').text(result.text);
                    }else{
                        me.addClass('on').text(result.text);
                    }
                }else{
                    layer.msg(result.msg,{icon:2});
                }
            });
        });
    });
    $(function(){
        $('#js_jrtab_ul li').mouseover(function(){
            var index = $(this).data('index');
            $('#js_jrtabi_0,#js_jrtabi_1').hide();
            $('#js_jrtabi_'+index).show();
            $('#js_jrtab_ul li').removeClass('hover');
            $(this).addClass('hover');
        }).mouseout(function(){
            var index = $(this).data('index');
            $('#js_jrtabi_0,#js_jrtabi_1').hide();
            $('#js_jrtabi_'+index).show();
            $('#js_jrtab_ul li').removeClass('hover');
            $(this).addClass('hover');
        });
    });

</script>
</body>
</html>
